package com.sunmnet.auto.spring.mvc.baen;

import java.util.List;

public class TBStructure {
	
	/** 表名  */
	private String tbName;
	
	/** 表名中的字段  */
	private List<FieldSturcture> fields;
	
	private String entityName;

	
	/**
	 * tbName
	 * @return the tbName
	 */
	public String getTbName() {
		return tbName;
	}

	/**
	 * tbName
	 * @param tbName the tbName to set
	 */
	public void setTbName(String tbName) {
		this.tbName = tbName;
	}

	/**
	 * fields
	 * @return the fields
	 */
	public List<FieldSturcture> getFields() {
		return fields;
	}

	/**
	 * fields
	 * @param fields the fields to set
	 */
	public void setFields(List<FieldSturcture> fields) {
		this.fields = fields;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return new org.apache.commons.lang3.builder.ReflectionToStringBuilder(
				this,
				org.apache.commons.lang3.builder.ToStringStyle.MULTI_LINE_STYLE)
				.toString();
	}

	/**
	 * entityName
	 * @return the entityName
	 */
	public String getEntityName() {
		return entityName;
	}

	/**
	 * entityName
	 * @param entityName the entityName to set
	 */
	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}
}
